home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Serious Demos
/
Symbolic Composer 4.2
/
Environment
/
Projects
/
Contributed Scores
/
Piano Inventions
/
Invention 6a
< prev
next >
Wrap
Lisp/Scheme
|
1998-10-26
|
1KB
|
62 lines
; Invention VIa - solo keyboard (22/11/93)
(create-tonality I '(d& 4 b& 4 c 5 e& 5 a& 5))
(create-tonality II '(f 4 d 5 e 5 a 5 b 5))
(create-tonality III '(b 3 g# 4 a# 4 c# 5 f# 5))
(create-tonality IV '(c 4 g 4 a 4 d 5 f 5))
(setq ntimes 20)
(setq ntimes1 4)
(setq seed 0.34)
(setq mat '(a b c d e))
(setq chd '(abcde bcd eca de bcde))
(setq matx (gen-random seed (* ntimes (length mat)) mat))
(setq chdx (gen-random seed (length chd) chd))
(setq len '(1/16))
(setq lenx (symbol-repeat (length matx) len))
(setq zon '(5/16 7/16 11/16 13/16 17/16))
(setq zonr (symbol-repeat ntimes '(5/16)))
(setq zonx (gen-random seed (length zon) zon))
(def-tonality
instr (activate-tonality (I d& 4) (II f 4) (III b 3) (IV c 4))
)
(def-symbol
instr (append chd
matx
chdx
(symbol-mix (filter-delete 'c matx)
(fill-rest (filter-delete 'c matx)
(symbol-transpose -7 matx)))
chdx
(symbol-chordize seed (length matx) 5 nil
(filter-midpass 'b 'd matx))
chd)
)
(def-length
instr (append zon lenx zonx lenx zonx lenx zon)
)
(def-zone
instr (append zon zonr zonx zonr zonx zonr zon)
)
(def-velocity
instr (vector-round 45 96
(gen-noise-white (length (get-symbols-of 'instr)) 0.3))
)
(compile-instrument "ccl;output:" separate
instr
)